{"version":3,"file":"script.min.js","sources":["script.js"],"names":["window","JCNewsSlider","containerId","options","container","BX","sliderImages","findChildByClassName","imagesContainerClassName","sliderLeft","leftArrowClassName","sliderRight","rightArrowClassName","sliderControl","controlContainerClassName","slider","Init","prototype","this","time","type","threshold","allowedTime","startX","startY","startTime","bind","delegate","touchStart","touchEnd","sliderControls","findChildren","tagName","proxy","j","func","length","slideTo","slideLeft","slideRight","animation","p","parseInt","style","left","_this","fx","start","finish","callback","res","callback_start","callback_complete","adjustSliderControls","i","addClass","removeClass","e","touchObject","changedTouches","pageX","pageY","Date","getTime","preventDefault","distance","elapsedTime"],"mappings":"CAAA,SAAWA,GAEV,KAAMA,EAAOC,aACb,CACC,OAGDD,EAAOC,aAAe,SAAUC,EAAaC,GAE5C,GAAID,GAAeC,EACnB,CACC,GAAIC,GAAYC,GAAGH,EACnB,IAAIE,EACJ,CACC,GAAIE,GAAeD,GAAGE,qBAAqBH,EAAWD,EAAQK,yBAA0B,KACxF,IAAIC,GAAaJ,GAAGE,qBAAqBH,EAAWD,EAAQO,mBAAoB,KAChF,IAAIC,GAAcN,GAAGE,qBAAqBH,EAAWD,EAAQS,oBAAqB,KAClF,IAAIC,GAAgBR,GAAGE,qBAAqBH,EAAWD,EAAQW,0BAA2B,KAC1F,IAAIR,GAAgBG,GAAcE,GAAeE,EACjD,CACC,GAAIE,GAAS,GAAId,aACjBc,GAAOC,KAAKV,EAAcO,EAAeJ,EAAYE,MAMzDX,GAAOC,aAAagB,UAAUD,KAAO,SAASV,EAAcO,EAAeJ,EAAYE,GAEtFO,KAAKC,KAAO,EACZD,MAAKE,KAAO,aAEZF,MAAKG,UAAY,EACjBH,MAAKI,YAAc,GACnBJ,MAAKK,OAAS,CACdL,MAAKM,OAAS,CACdN,MAAKO,UAAY,CAEjBP,MAAKZ,aAAeA,CACpBD,IAAGqB,KAAKpB,EAAc,aAAcD,GAAGsB,SAAST,KAAKU,WAAYV,MACjEb,IAAGqB,KAAKpB,EAAc,WAAYD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